home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / prog_gen / textsrch.zip / WINSTALL.INF < prev    next >
Text File  |  1996-02-17  |  11KB  |  302 lines

  1. REM --------------------------------------------
  2. REM WINSTALL.INF file for Chief's Installer Pro
  3. REM Tries to use most of the reserved words
  4. REM --------------------------------------------
  5.  
  6. [The title of your application]
  7. $TITLE=Text Search ver 1.1
  8.  
  9. [Default target directory :  can take extra parameter in this format]
  10. [$TARGET=Default;INI-File-name;Section;KeyName]
  11. $TARGET=C:\textsrch
  12.  
  13. [Files to be copied; "$disk 1 =" to "$disk 64 ="; you can use wildcards]
  14. [file specs should be separated with a semi-colon]
  15.  
  16. $DISK1=textsrch.exe;textsrch.hlp;textsrch.ini;readme.txt
  17.  
  18. [Disk space needed for the installation - in bytes]
  19. [you can calculate this by running AUTOCALC.EXE on your completed INF file]
  20. $SPACE=300000
  21.  
  22. [Files to be installed to Windows directory; unlimited number of lines]
  23. [MAX 30 file names on each line, separated with semi-colon]
  24. $WINDIR=
  25.  
  26. [Files to be installed to Windows SYSTEM directory; unlimited number of lines]
  27. [MAX 30 file names on each line, separated with semi-colon]
  28. $SYSDIR=
  29.  
  30. [space required by files going to the Windows directory]
  31. [you can calculate this by running AUTOCALC.EXE on your completed INF file]
  32. $WINDIR-SPACE=0
  33.  
  34. [space required by files going to the Windows SYSTEM directory]
  35. [you can calculate this by running AUTOCALC.EXE on your completed INF file]
  36. $SYSDIR-SPACE=0
  37.  
  38. [uncomment this line to turn on disk verification]
  39. ;$VERIFY-INSTALL-DISKS
  40.  
  41. [Files to be installed to subdirectories under DEST directory tree]
  42. [Max 30 file names on each line, separated with semi-colon]
  43.  
  44. ;$DEST\BIN=INSTALL.EXE;WINSTALL.INF;*.DLL;WINSTALL.HLP;WINSTALL.TXT;
  45.  
  46. [Files to be installed to TEMP directory; unlimited number of lines]
  47. [Max 30 file names on each line, separated with semi-colon]
  48. $TEMPDIR=
  49.  
  50. [disk space needed for files going to the TEMP directory - in bytes]
  51. $SWAP-SPACE=0
  52.  
  53. [Files to be replaced without warning if older versions already exist]
  54. [Max 30 file names on each line, separated with semi-colon]
  55. $AUTO-REPLACE=
  56.  
  57. [Entries in INI files = Filename;Section;Keyname;String;NO-REPLACE;$USER OPTION#]
  58. [Details as minimum of 4 sections on each line, separated with semi-colon]
  59. ;$INI=$DEST\INSTALL.INI;Test;Chief;a Great African Chief and a Great Welshman
  60.  
  61. [Default Program Manager group name; you can force it to be created by
  62. [using the AUTO parameter, or disable it by using the DISABLE parameter]
  63. $GROUP=Text Search;SHOW-COMBO
  64.  
  65. [program(s) to create Program Manager icons for; MAX=128 icons in all]
  66. [format= CommandLine;Icon Title;Group Name]
  67. [Group Name is optional - if none, the one in $GROUP will be used]
  68.  
  69. $ICON=$DEST\TEXTSRCH.EXE;Text Search
  70. $ICON=$DEST\TEXTSRCH.HLP;Text Search Help
  71. $ICON=NOTEPAD.EXE $DEST\README.TXT;Readme File
  72.  
  73. [another (more low level) way of creating icons; unlimited number of icons]
  74.  
  75. ;$ICO=$GROUP;0;$DEST\BIN\INSTALL.EXE;Chief's Installer Pro;$DEST\BIN\WINSTALC.DLL;2
  76.  
  77.  
  78. [********************************************************]
  79. [*** NOTE: EVERYTHING FROM HERE IS TOTALLY OPTIONAL *****]
  80. [********************************************************]
  81.  
  82. [Program(s) to execute as part of the installation; separated with a semi-colon]
  83. [install will *try* to wait for them to terminate before continuing]
  84. $PRE-EXEC=
  85.  
  86. [Files to delete after completing installation; each on a separate line]
  87. [here, we're cleaning up our INSTALL files from the TEMP directory]
  88. ;$CLEANUP=$TEMPDIR\INSTALL.EXE
  89. ;$CLEANUP=$TEMPDIR\WINST*.*
  90. ;$CLEANUP=$TEMPDIR\*.CHF
  91.  
  92. [Program(s) to execute after completing installation; separated with a semi-colon]
  93. $EXEC=
  94.  
  95. [uncomment this line for a maximized main window - and no "banner"!]
  96. ;$WINDOW=MAXIMIZE
  97.  
  98. [comment this to use an 8kb buffer for copying the files]
  99. $COPYBUFFER=32000
  100.  
  101. [uncomment this to use a WHITE background color for the dialog window]
  102. [valid values are 0 to 4]
  103. ;$WINDOW-BACKGROUND=0
  104.  
  105. [uncomment this to use a WHITE background for the dialog text]
  106. [3 RGB values, or 1 long integer value
  107. ;$TEXT-BACKGROUND=255,255,255
  108.  
  109. [comment this to NOT paint the background of the "percent" dialog]
  110. $PAINTDIALOGS
  111.  
  112. [uncomment this line to automatically set the check box for PROGMAN group]
  113. $SETCHECKBOX
  114.  
  115. [comment this line to enable the final "installation completed" dialog]
  116. ;$NO-END-DIALOG
  117.  
  118. [uncomment this line to disable the dialog that offers to add the target]
  119. [directory to the PATH statement in AUTOEXEC.BAT]
  120. $NO-PATH-DIALOG
  121.  
  122. [uncomment to use other icons (in WINSTALC.DLL); from 2 to 10]
  123. $DIALOG-ICON=5
  124.  
  125. [comment this line to disable the small "percent" meter for individual files]
  126. $SHOW-FILE-PERCENT
  127.  
  128. [comment this line to disable logging for the UNINSTALLER in UNINSTAL.LOG]
  129. ;$MAKE-UNINSTALL-LOG
  130.  
  131. [register with Win95's "automatic uninstall" ]
  132. ;$REGISTER-UNINSTALL=$DEST\BIN\UNINSTAL.EXE 
  133.  
  134. [comment these lines to remove user selectable install options]
  135. [max= 10 options; format = title;disk space needed (in bytes)]
  136. [the figures are added to the $SPACE line above]
  137. [you can calculate these by running AUTOCALC.EXE on your completed INF file]
  138.  
  139. ;$USER-OPTION1=Program Executables;374910
  140. ;$USER-OPTION2=Program DLLs;91890
  141. ;$USER-OPTION3=Language DLLs (zipped);26782
  142. ;$USER-OPTION4=Program Documentation;262771
  143. ;$USER-OPTION5=Utilities;284022
  144. ;$USER-OPTION6=Sample batch files;12625
  145. ;$USER-OPTION7=Sample INF files;23053
  146.  
  147. [help strings for each user option]
  148. ;$OPTIONHELP1=These are all the executables that come with \nChief's Installer Pro. \n\nThese files must be installed.
  149. ;$OPTIONHELP2=These are the dynamic link library files. \n\nThese files must be installed.
  150. ;$OPTIONHELP3=These are the DLLs containing the \nlanguage support files.
  151. ;$OPTIONHELP4=These files contain the program documentation.\n\nYou will find them invaluable.
  152. ;$OPTIONHELP5=Necessary utilities and productivity tools.\n\nYou will need them!
  153. ;$OPTIONHELP6=A few sample Chief's Installer Pro batch files.\n\nThese files are needed for this install.
  154. ;$OPTIONHELP7=A few sample Chief's Installer Pro INF files.\n\nThese files are needed for this install.
  155.  
  156.  
  157. [these lines are the files that make up each user selectable option]
  158. [each option can use up to 10 lines to list its files, and each line
  159. [can list up to 30 files; max = 200 characters per line]
  160.  
  161. ;$OPTIONAL1=SETUP.EXE;INSTALL.EXE;UNINSTAL.EXE;
  162. ;$OPTIONAL2=*.DLL
  163. ;$OPTIONAL3=WINSTALL.ZIP;UNINST.ZIP;
  164. ;$OPTIONAL4=*.HLP;*.TXT;*.MSG;*.FRM;*.FAQ
  165.  
  166. ;$OPTIONAL5=AUTOCALC.EXE;AUTODLL.EXE;AUTOCALC.HLP;SHOWLOG.EXE;SHOWLOG.TXT
  167. ;$OPTIONAL5=SPLIT.EXE;COMPILE.EXE;TOTOOLZ.EXE
  168.  
  169. ;$OPTIONAL6=*.CHF
  170. ;$OPTIONAL7=*.INF
  171.  
  172.  
  173. [these lines are for the "BANNER" window]
  174. [the font to use; I am using True Type Times New Roman]
  175. $BANNER-FONT=TIMES NEW ROMAN
  176.  
  177. [make sure this is small enough for those using 640x480 displays]
  178. $BANNER-FONT-SIZE=32
  179.  
  180. [message must be short enough to fit on the screen]
  181. $BANNER-MESSAGE=Text Search  by  Excellco, Inc.;CENTERED
  182. $BANNER-TEXT-COLOR=
  183. $BANNER-TEXT-BACKGROUND=
  184. $BANNER-WINDOW-BRUSH=
  185.  
  186. [uncomment this to give a blue shadow to the banner text: but it will disable]
  187. [the $banner-text-background; it also will not work if there is a bitmap]
  188. ;$BANNER-SHADOW-COLOR=0,0,255
  189.  
  190. [I am not using any bitmap! so I use a non-existent file name]
  191. ;$BITMAP=nobitmap
  192.  
  193.  
  194. [************************************************************]
  195. [ *** these lines are for version checks on shared files ****]
  196. [************************************************************]
  197.  
  198. [uncomment this line to enable version checking on non-shared DLLs]
  199. ;$CHECK-MY-DLL-VERSIONS
  200.  
  201. [this line stipulates the headings of the file version numbers]
  202. ;$VERSION-INFO-TITLE=File Version
  203.  
  204. [your explanation or recommendation when a copy of a shared file]
  205. [already exists]
  206. ;$VERSION-INFO-MESSAGE=You SHOULD click on "NO" if the target file \n is NEWER than the source file.
  207.  
  208. [your message when we can't successfully install a shared file]
  209. ;$VERSION-COPY-ERROR-MESSAGE=Please copy it later (after closing Windows) \n.A temporary copy of the file exists as
  210.  
  211. [uncomment this line to force older files to be overwritten without warning]
  212. ;$FORCE-OVERWRITE-OLDER-FILES
  213.  
  214. [comment this to avoid skipping identical files]
  215. ;$SKIP-IDENTICAL-FILES
  216.  
  217. [ ************************** other commands *************************]
  218.  
  219. $CLOSE-GROUP-BOX=1;2;3;4;
  220.  
  221. [the caption on the "Readme" push button 
  222. ;$README-BUTTON-TEXT=&History ....
  223.  
  224. [comment this line to use a proportional typeface for the readme dialog]
  225. $README-FONT=FIXED
  226.  
  227. [uncomment and use this line to send a mouse click to any of]
  228. [the four push buttons; 1=Start Install; 2=Abort; 3=Help; 4=Readme]
  229. ;$AUTO-CLICK-BUTTON=4
  230.  
  231. [uncomment this line to disable CTL3DV2.DLL]
  232. ;$NO-CTL3D.DLL
  233.  
  234. [this message is presented if an active DLL was replaced/installed]
  235. ;$RESTARTWIN-MESSAGE=At least one active DLL was replaced.\nSo you need to close all programs and \nRESTART Windows (right now!).\n\nShould I restart Windows now?
  236.  
  237. [I am disabling the feature here!]
  238. $RESTARTWIN-MESSAGE=DISABLE
  239.  
  240. [examples of entries for the Registration Database (they are all commented!)]
  241. ;$REG-DATA=ChiefPro;Chief's Installer Pro
  242. ;$REG-DATA=.chf;ChiefPro
  243. ;$REG-DATA=HKEY_LOCAL_MACHINE\ChiefPro;Chief's Installer Pro
  244. ;$REG-DATA=HKEY_LOCAL_MACHINE\ChiefPro;Number;1;reg_dword
  245. ;$REG-DATA=HKEY_LOCAL_MACHINE\ChiefPro;PChar;1;reg_sz
  246. ;$REG-DATA=HKEY_LOCAL_MACHINE\ChiefPro;Binary;1;reg_binary
  247.  
  248.  
  249. [True Type fonts]
  250. ;$FONT=ARIAL.TTF;Arial (True Type)
  251.  
  252. [uncomment and put any final message to be displayed to the user]
  253. ;$FINAL-MESSAGE=Please read the HISTORY file, and\nthe Frequently Asked Questions!
  254.  
  255. [ChiefPro batch files]
  256. ;$BATCH-FILE=$DEST\BATCH\CHIEFPRO.CHF
  257.  
  258. [if you want to UNZIP files, you can use $UNZIP]
  259. [filename, destination directory, code (for existing files)]
  260. ;[UNZIP CODES for EXISTING files]
  261. ;     OVERWRITE-ALL
  262. ;     OVERWRITE-OLDER
  263. ;     SKIP
  264. ;     CONFIRM
  265.  
  266. ;$UNZIP=$DEST\LANGUAGE\WINSTALL.ZIP;$DEST\LANGUAGE;OVERWRITE-OLDER
  267. ;$UNZIP=$DEST\LANGUAGE\UNINST.ZIP;$DEST\LANGUAGE;OVERWRITE-OLDER
  268. ;$UNZIP=$DEST\LANGUAGE\UNINST.ZIP;$DEST\LANGUAGE;OVERWRITE-OLDER;/F=*.DLL
  269.  
  270.  
  271. [any extra data space that your application might need]
  272. $DATA-SPACE=0
  273.  
  274. [message shown when desktop's "Abort" button is clicked]
  275. $ABORT-MESSAGE=I will now terminate the installation!\nIs this what you want?
  276.  
  277. [how many times can a file be duplicated during the install?]
  278. $MAX-DUPLICATES=3
  279.  
  280. [uncomment to remove the "Abort" button from the desktop]
  281. ;$NO-ABORT-BUTTON
  282.  
  283. [uncomment to remove the "Help" button from the desktop]
  284. ;$NO-HELP-BUTTON
  285.  
  286. [uncomment to run only under 32-bit Windows]
  287. ;$WIN32-ONLY=1
  288.  
  289. [message to display if $win32-only=1 and we are running under Win16]
  290. $WIN32-FAIL-MESSAGE=This program requires a 32-bit version of Windows!
  291.  
  292. [uncomment to disable support for long filenames under Win32]
  293. ;$LONG-FILENAMES=DISABLED
  294.  
  295.  
  296. [example: if you want to specify a general source directory]
  297. ;$SOURCEDIR=Z:\USR\BIN\LOCAL\INST
  298.  
  299. [example: the source directories for specific install disks]
  300. ;$DISKDIR1=A:\
  301. ;$DISKDIR2=A:\
  302.